package atguigu.flume_kafka_inteceptor;

import com.alibaba.fastjson.JSON;

public class Util_json {
    public static boolean isJsonString(String json_log){
        try {
            JSON.parse(json_log);
            return true;
        } catch (Exception e) {
            e.printStackTrace();
            return false;
        }

    }
}
